package com.wyu.test.repository;

import com.wyu.test.entity.CUserEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface CUserEntityRepository extends JpaRepository<CUserEntity,Integer>, JpaSpecificationExecutor<CUserEntity> {

    CUserEntity findFirstById(int id);

    CUserEntity findFirstByUsername(String username);

    CUserEntity findFirstByPhone(String phone);

}
